// import axios from "axios";
import service from "@/utils/request.js";

const adminApi = {
    list(adminQuery) {
        /*return axios.get('http://localhost:8080/admin/list', {params: adminQuery}).then(response => {
            console.log(response)
            console.log(response.data) //result
            return response.data
        })*/
        return service.get('/admin/list', {params: adminQuery})
    }
}

export default adminApi